Skip to content

Add proper Pearl of Tsoatha support - #10236

Open
vaisest wants to merge 10 commits into
PathOfBuildingCommunity:devfrom
vaisest:pearl
Open

Add proper Pearl of Tsoatha support#10236
vaisest wants to merge 10 commits into
PathOfBuildingCommunity:devfrom
vaisest:pearl

Conversation

@vaisest

@vaisest vaisest commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

This adds proper pearl of tsoatha support. This includes

  • an item db entry
  • an option to find pearls in the trader. this has a slot selector and does NOT include the base mod lines. this means that it can be misleading, but otherwise the elemental res and damage will be included in the weight.
  • support for supporting item granted skills. this is done by adding a flag appliesToGrantedSkills to the on the ExtraSupport mod, and using that to allow it as an exception.
  • support for supporting tree skills. this is done by adding a passive tree slot in the related gem calc code.

It seems that existing ExtraSupport code didn't have protections for duplicate support gems. I had to work around this, and there's a small caveat that they don't show up as (superseded) in the skills tab.

Steps taken to verify a working solution:

  • Item tested manually
  • tests added
  • trader tested manually

Link to a build that showcases this PR:

Before screenshot:

After screenshot:

image image

Note that I removed the elem dam mod here:

image image image image

@vaisest vaisest changed the title Add Pearl of Tsoatha to unique DB Add proper Pearl of Tsoatha support Aug 16, 2026
Comment thread src/Modules/CalcSetup.lua
t_insert(node.grantedSkills, {
skillId = skill.skillId,
level = skill.level,
noSupports = true,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically it seems that this should hide the "You cannot socket gems..." label on the skills tab, but it seems like this feature doesn't work anyway on beta so I'm not sure how much of a problem this is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant